home *** CD-ROM | disk | FTP | other *** search
- %if lang = MPW%
- { %filename% -- window }
- { Created %date% %time% by AppMaker }
-
- { For most applications, your window will have custom view classes. }
- { This module provides a convenient place to put these classes. }
- { If you specify a custom classname for any view item, AppMaker will }
- { generate some skeleton code for that custom class. It generates }
- { a declaration of that class with a fields method; it generates }
- { the body of the fields method; and AppMaker generates code for }
- { dead strip suppression. For some view items, AppMaker generates }
- { other methods it knows you will need; for instance, for a }
- { TTextListView, AppMaker generates a GetItemText method. }
- %endif%
-
- %for each item gen classMethods%
- {$S AOpen}
- {----------}
- Function New%windname% (itsDocument: TDocument): TWindow;
- var
- theWindow: TWindow;
- Begin
- theWindow := NewTemplateWindow (k%windname%ID, itsDocument);
-
- if gDeadStripSuppression then begin
- %for each item gen gDeadStripSuppression%
-
- end;
-
- New%windname% := theWindow;
- End; {New%windname%}
-
- {End U%windname%.inc.p}
-